<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/
// 判断客户端类型的中间件
Route::group(['middleware' =>['client']],function(){
	// 官网首页
	Route::get('/', 'CarController@index');
	// 新车列表
	Route::get('/NewCars', 'CarController@NewCars');
	// 汽车详情
	Route::get('/details', 'CarController@details');
	// 筋斗问答
	Route::get('/FAQ', 'CarController@FAQ');
	// 了解筋斗车
	Route::get('/Company', 'CarController@Company');
});

